use ASM_NL instead of '; ' for assembler new line character in the macro
authorChen Gang <[email protected]>
Thu, 19 Feb 2015 15:51:27 +0000 (18:51 +0300)
committerTom Rini <[email protected]>
Fri, 6 Mar 2015 01:49:43 +0000 (20:49 -0500)
commit950cb9bbc7fa6fa129a675c39b99e7cd9d63595c
tree9c8273441beb67ff86eb6c2bd53573987c1635a1
parentb050898efa6b4f0272f12885a7365f044ab4c08e
use ASM_NL instead of '; ' for assembler new line character in the macro

For some assemblers, they use another character as newline in a macro
(e.g. arc uses '`'), so for generic assembly code, need use ASM_NL (a
macro) instead of ';' for it.

Basically this is the same patch as applied to Linux kernel -
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/include/linux/linkage.h?id=9df62f054406992ce41ec4558fca6a0fa56fffeb

but modified a bit to fit in U-Boot.

Signed-off-by: Chen Gang <[email protected]>
Signed-off-by: Alexey Brodkin <[email protected]>
Cc: Masahiro Yamada <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Tom Rini <[email protected]>
arch/arc/include/asm/linkage.h [new file with mode: 0644]
include/linux/linkage.h